﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Surpass.Repository.Migrations
{
    public partial class uptdeptids : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "DeptHead",
                table: "SysDept");

            migrationBuilder.AddColumn<int>(
                name: "UserId",
                table: "SysDept",
                type: "int",
                maxLength: 50,
                nullable: false,
                defaultValue: 0);

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5156), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5154) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5164), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5162) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5166), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5165) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_PERMS_CONFIG",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5160), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5159) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_RELATION",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5158), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5157) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5168), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5167) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5170), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5169) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5173), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5172) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M1",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5124), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(3428) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M101",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5153), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5152) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M102",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5175), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5174) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M2",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5141), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5138) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M3",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5144), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5142) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M301",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5177), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5176) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M302",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5179), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5178) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M303",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5182), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5181) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M4",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5146), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5145) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M401",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5185), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5183) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M402",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5187), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5186) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40201",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5189), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5188) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40202",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5191), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5190) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M5",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5149), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5148) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M501",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5194), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5192) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M502",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5196), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(5195) });

            migrationBuilder.UpdateData(
                table: "Sys_Role",
                keyColumn: "RoleId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 203, DateTimeKind.Local).AddTicks(9700), new DateTime(2021, 11, 3, 15, 2, 57, 203, DateTimeKind.Local).AddTicks(8964) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8768), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8767) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8774), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8774) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8776), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8775) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_PERMS_CONFIG", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8772), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8771) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_RELATION", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8770), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8769) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8778), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8777) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8780), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8779) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8782), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8781) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M1", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8581), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8066) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M101", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8766), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8765) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M102", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8783), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8782) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M2", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8756), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8753) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M3", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8758), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8757) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M301", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8785), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8784) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M302", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8787), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8786) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M303", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8789), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8789) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M4", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8760), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8759) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M401", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8791), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8790) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M402", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8793), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8792) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40201", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8795), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8794) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40202", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8797), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8796) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M5", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8762), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8761) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M501", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8798), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8797) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M502", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8800), new DateTime(2021, 11, 3, 15, 2, 57, 205, DateTimeKind.Local).AddTicks(8799) });

            migrationBuilder.UpdateData(
                table: "Sys_User",
                keyColumn: "UserId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 202, DateTimeKind.Local).AddTicks(6399), new DateTime(2021, 11, 3, 15, 2, 57, 202, DateTimeKind.Local).AddTicks(6598) });

            migrationBuilder.UpdateData(
                table: "Sys_User_Role_Relation",
                keyColumns: new[] { "RoleId", "UserId" },
                keyValues: new object[] { 1L, 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 2, 57, 204, DateTimeKind.Local).AddTicks(1970), new DateTime(2021, 11, 3, 15, 2, 57, 204, DateTimeKind.Local).AddTicks(1454) });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "UserId",
                table: "SysDept");

            migrationBuilder.AddColumn<string>(
                name: "DeptHead",
                table: "SysDept",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(339), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(337) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(346), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(345) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(349), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(348) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_PERMS_CONFIG",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(343), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(342) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_RELATION",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(341), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(340) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(351), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(350) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(353), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(352) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(356), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(355) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M1",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(304), new DateTime(2021, 11, 3, 13, 51, 47, 404, DateTimeKind.Local).AddTicks(7794) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M101",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(336), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(335) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M102",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(358), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(357) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M2",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(324), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(322) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M3",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(327), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(326) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M301",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(360), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(359) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M302",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(363), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(361) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M303",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(366), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(364) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M4",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(330), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(328) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M401",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(368), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(367) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M402",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(370), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(369) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40201",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(373), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(371) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40202",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(375), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(374) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M5",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(332), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(331) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M501",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(377), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(376) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M502",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(379), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(378) });

            migrationBuilder.UpdateData(
                table: "Sys_Role",
                keyColumn: "RoleId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 403, DateTimeKind.Local).AddTicks(5346), new DateTime(2021, 11, 3, 13, 51, 47, 403, DateTimeKind.Local).AddTicks(4742) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3984), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3983) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3991), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3989) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3993), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3992) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_PERMS_CONFIG", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3988), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3987) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_RELATION", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3986), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3985) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3995), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3994) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3997), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3996) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3999), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3998) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M1", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3792), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3148) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M101", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3982), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3981) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M102", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4001), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4000) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M2", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3972), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3969) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M3", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3974), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3974) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M301", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4003), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4002) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M302", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4005), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4004) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M303", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4007), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4006) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M4", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3977), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3975) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M401", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4009), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4008) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M402", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4010), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4010) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40201", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4012), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4011) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40202", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4014), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4013) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M5", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3979), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(3978) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M501", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4016), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4015) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M502", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4018), new DateTime(2021, 11, 3, 13, 51, 47, 405, DateTimeKind.Local).AddTicks(4017) });

            migrationBuilder.UpdateData(
                table: "Sys_User",
                keyColumn: "UserId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 402, DateTimeKind.Local).AddTicks(4242), new DateTime(2021, 11, 3, 13, 51, 47, 402, DateTimeKind.Local).AddTicks(4452) });

            migrationBuilder.UpdateData(
                table: "Sys_User_Role_Relation",
                keyColumns: new[] { "RoleId", "UserId" },
                keyValues: new object[] { 1L, 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 13, 51, 47, 403, DateTimeKind.Local).AddTicks(7020), new DateTime(2021, 11, 3, 13, 51, 47, 403, DateTimeKind.Local).AddTicks(6657) });
        }
    }
}
